#coding=utf-8
import fetion
phone_num = '13567220098'
password =  '101783'

def send_sms_to_me(msg, pn=phone_num, passwd=password):
    try:
        phone = fetion.PyFetion(pn,passwd,"TCP")
    except PyFetionInfoError,e:
        print "corrent your mobile NO. and password"
        return -1        
    phone.login()
    phone.send_sms(msg)
